<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="work.atpgroup.entity.WebPage" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
    <title>创建网页成功</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
    <link rel="stylesheet" href="https://www.layuicdn.com/layui-v2.7.6/css/layui.css"/>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script>
    <script type="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.0.5/vue.global.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/enroll.css">
    <style>
        *{
            font-size: 20px;
        }
        body{
            background: #3dd5f3;
        }
    </style>
</head>
<body>
<jsp:include page="../../share/enroll.jsp"/>
<div class="container row m-5">
    <div class="col-10">
        创建成功
    </div>
    <div class="col-10 flex-column">
            <span>
                网页标题
            </span>
        <a>
            ${successWebPage.title}
        </a>
    </div>
    <div class="col-10 flex-column">
            <span>
                网页路径
            </span>
        <a>
            ${successWebPage.uri}
        </a>
    </div>
    <div class="col-10 flex-column">
            <span>
                从私有链接访问(仅你可访问）
            </span>
        <a href="${pageContext.request.contextPath}/${privateWebPage}">${privateWebPage}</a>
    </div>
    <div class="col-10 flex-column">
            <span>
                从公有链接访问(可能需要审核过后才可访问）
            </span>
        <a href="${pageContext.request.contextPath}/${publicWebPage}">${publicWebPage}</a>
    </div>
</div>
</body>
</html>